import 'package:event_bus/event_bus.dart';

final eventBus = EventBus();

listenInt(Function(int) function) {
  eventBus.on<int>().listen(function);
}

listenMap(Function(Map<String,int>) function) {
  eventBus.on<Map<String,int>>().listen(function);
}